
<form name="modules" method="post">
	<input type="hidden" name="mod_enable" value="true" />
	<table id="modules">
		<tr>
			<th class="en">Enabled</th>
			<th class="mod">Module</th>
			<th class="name">Name</th>
			<th class="ver">Version</th>
			<th>Description</th>
		</tr>
        <?php if(isset($mod)&&is_a($mod,'MySQL_Result')) while( $mod->next()->exists() ): ?>

		<tr>
			<td><input type="checkbox" value="1" name="en_<?=$mod->mod ?>"<?=$mod->enabled?' checked':'' ?> /></td>
			<td><b><?=$mod->mod ?></b></td>
			<td><?=$mod->name ?></td>
			<td><?=$mod->version ?></td>
			<td><?=$mod->descr ?></td>
		</tr>
		<?php endwhile; ?>

	</table>
	<input type="submit" value="Save" />
</form>
